<section class="sidebar ">
    <div class="user-panel">
        <div class="pull-left image">
            <img alt="User Image"  src="__STATIC__/adminlte/dist/img/logo.png">
        </div>
        <div class="pull-left info">
            <p>Hello, {$userInfo.username}</p>
            <a href="javascript:loadContent('{:U('admin/public_editinfo')}')">个人信息</a>
            <a href="javascript:loadContent('{:U('admin/public_editpwd')}')">修改密码</a>
        </div>
    </div>
    <ul class="sidebar-menu">
        <foreach name="treeData" item="data">
            <li class="treeview">
                <a href="#">
                    <i class="fa {$data[icon]}"></i> <span class="title">{$data['name']}</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>
                <ul class="treeview-menu">
                    <foreach name="data[son]" item="cdata">
                     <li><a href="{$cdata[url]}" class="nav">
                        <i class="fa  fa-angle-double-right"></i>{$cdata[text]}</a></li>
                    </foreach>
                </ul>
            </li>
        </foreach>
</section>
